import i18n from '@src/locales';
import FormQualityRuleSetting from './FormQualityRuleSetting.vue';
import FormQualityRulePreview from './FormQualityRulePreview.vue';
import FormQualityRule from './FormQualityRule.vue'

import FormQualityRuleView from '@src/component/form/components/FormQualityRuleField/FormQualityRuleView.tsx'

let FormQualityRuleField = {
  formType: 'quality_rule', // 字段类型
  name: i18n.t('common.form.type.quality_rule'),
  isSystem: 1,
  component: {
    view: FormQualityRuleView,
    preview: FormQualityRulePreview,
    build: FormQualityRule,
    extend: {
      'product_menu_quality_rule_setting': FormQualityRuleSetting
    }
  }
};

export default FormQualityRuleField;


